<script>
    //1:定义多行字符串
    let string1 = `htllo,
    es6 demo up`
    // console.log(string1)

    //2:在`符号里可以使用表达式获取变量值
    let name = "mike"
    let age = 20

    let str2 = `hello,${name},age is ${age+1}`
    // console.log(str2)

    //3:在`符号里可以调用方法
    function f1(){
        return "hello f1"
    }
    let str3 = `demo,${f1()}`
    console.log(str3)
</script>